package com.lam.mall.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lam.mall.app.vo.ProdCommDataVo;
import com.lam.mall.app.vo.ProdCommVo;
import com.lam.mall.entity.ProdComm;

/**
 * 商品评论Mapper接口
 * 
 * @author admin
 * @date 2023-04-28
 */
public interface ProdCommMapper extends BaseMapper<ProdComm>{

	ProdCommDataVo getByProdId(@Param("prodId")String prodId);

	List<ProdCommVo> getPageByUserId(@Param("userId")String userId);

	List<ProdCommVo> getPageByProdId(@Param("prodId") String prodId, @Param("evaluate")Integer evaluate);


}
